Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added retrieval aio tests #12

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Added retrieval aio tests #12

wants to merge 3 commits into from

Conversation

kwang2049
Copy link
Collaborator

@kwang2049 kwang2049 commented Apr 12, 2023

Changes:

  • create mode 100644 sample-data/build.py: Building the sample data (from BeIR/scifact)
    • create mode 100644 sample-data/scifact/corpus.jsonl:
    • create mode 100644 sample-data/scifact/qrels/test.tsv:
    • create mode 100644 sample-data/scifact/queries-test.tsv:
    • create mode 100644 sample-data/scifact/queries.jsonl:
  • create mode 100644 tests/conftest.py: Fixtures of BERT/DistilBERT tiny checkpoints and data path
  • create mode 100644 tests/integration/test_inference.py: Run inference over all the methods on the sample data
  • change environment.yml: Added pytest

To run the tests, please run this under the sprint root folder:

pytest -s .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant